package spynx.valueconverter;

import org.eclipse.xtext.conversion.ValueConverterException;
import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter;
import org.eclipse.xtext.parsetree.AbstractNode;

public class BOOLEAN_CONSTANTSValueConverter extends AbstractLexerBasedConverter<Boolean> {

	@Override
	public Boolean toValue(String string, AbstractNode node)
			throws ValueConverterException {
		return "true".equals(string);
	}

}
